package com.ruoyi.taskSys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 核酸任务超时对象 m_task_timeout
 * 
 * @author ruoyi
 * @date 2024-07-30
 */
public class MTaskTimeout extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskName;

    /** 楼栋名 */
    @Excel(name = "楼栋名")
    private Long building;

    /** 小区名 */
    @Excel(name = "小区名")
    private Long residential;

    /** 状态 */
    @Excel(name = "状态")
    private Long taskStatus;

    /** 住户姓名 */
    @Excel(name = "住户姓名")
    private String householdName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setBuilding(Long building) 
    {
        this.building = building;
    }

    public Long getBuilding() 
    {
        return building;
    }
    public void setResidential(Long residential) 
    {
        this.residential = residential;
    }

    public Long getResidential() 
    {
        return residential;
    }
    public void setTaskStatus(Long taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public Long getTaskStatus() 
    {
        return taskStatus;
    }
    public void setHouseholdName(String householdName) 
    {
        this.householdName = householdName;
    }

    public String getHouseholdName() 
    {
        return householdName;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("building", getBuilding())
            .append("residential", getResidential())
            .append("taskStatus", getTaskStatus())
            .append("householdName", getHouseholdName())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .toString();
    }
}
